package view;

public class ViewSemester extends View{

protected int number = 0;
	
	public ViewSemester(){
		this.number = 0;
	}
	
	public ViewSemester(String name, int number) {
		super(name);
		this.number = number;
	}
	
	public int getNumber() {
		return number;
	}

	public String toString()
	{
		return super.toString()+ "\nnumber: " + String.valueOf(this.number);
	}
}
